package sjtu.ist.warehouse4ws.model;

/**
 * Privilege entity. @author MyEclipse Persistence Tools
 */

public class Privilege implements java.io.Serializable {

	// Fields

	private String id;
	private String fileInfoId;
	private String company;
	private Integer deleteop;
	private Integer modifyop;
	private Integer readop;

	// Constructors

	/** default constructor */
	public Privilege() {
	}

	/** minimal constructor */
	public Privilege(String id, String fileInfoId, String company) {
		this.id = id;
		this.fileInfoId = fileInfoId;
		this.company = company;
	}

	/** full constructor */
	public Privilege(String id, String fileInfoId, String company,
			Integer deleteop, Integer modifyop, Integer readop) {
		this.id = id;
		this.fileInfoId = fileInfoId;
		this.company = company;
		this.deleteop = deleteop;
		this.modifyop = modifyop;
		this.readop = readop;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFileInfoId() {
		return this.fileInfoId;
	}

	public void setFileInfoId(String fileInfoId) {
		this.fileInfoId = fileInfoId;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Integer getDeleteop() {
		return this.deleteop;
	}

	public void setDeleteop(Integer deleteop) {
		this.deleteop = deleteop;
	}

	public Integer getModifyop() {
		return this.modifyop;
	}

	public void setModifyop(Integer modifyop) {
		this.modifyop = modifyop;
	}

	public Integer getReadop() {
		return this.readop;
	}

	public void setReadop(Integer readop) {
		this.readop = readop;
	}

}